<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
    
</head>
<body>

<h1>登录</h1>
<form action="/tenant/login" method="post" >
    <p th:text="${emsg}"></p>
    用户名：<input type="text" name="username" th:value="${tl_username}"><br>
    密码：<input type="password" name="password" placeholder="password"><br>
    <input type="submit" value="点击登录！">&nbsp;&nbsp;&nbsp;
    <a th:href="@{/tenant/toregist}">注册</a>
</form>


</body>
</html>